package com.easybuilder.core.authorization.service.impl;

import com.alibaba.fastjson.JSONObject;
import com.easybuilder.common.utils.ParamsUtil;
import com.easybuilder.common.utils.StringUtil;
import com.easybuilder.core.authorization.dto.GiteeAccessToken;
import com.easybuilder.core.authorization.dto.GiteeUser;
import com.easybuilder.core.authorization.service.OauthService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Service;
import org.springframework.web.client.RestTemplate;

import javax.annotation.Resource;
import java.util.LinkedHashMap;
import java.util.Map;

@Slf4j
@Service
public class OauthServiceImpl implements OauthService {


    @Override
    public GiteeUser loginGitee(String code) {
        return null;
    }
}
